<div>
    <label>Register</label>
    <input #username/>
    <input #password/>
    <button (click)="register(username.value, password.value)">
        Register
    </button>
    <button (click)="testsession()">
        TestSession
    </button>
    <button (click)="testsession2()">
        TestSession2
    </button>
</div>